package morenoapp.model.enums;

import morenoapp.util.Description;
import morenoapp.util.I18N;

/**
 *
 * @author dmitry.mamonov
 */
public enum MorenoQuestionType implements Description{
    Uncategorized(I18N.get("label.question.type.uncategorized"),I18N.get("label.question.type.suffix")),
    Positive(I18N.get("label.question.type.positive"),I18N.get("label.question.type.suffix")),
    Negative(I18N.get("label.question.type.negative"),I18N.get("label.question.type.suffix")),
    Reflexive(I18N.get("label.question.type.reflexive"),I18N.get("label.question.type.suffix")),
    Referential(I18N.get("label.question.type.referential"),I18N.get("label.question.type.suffix"));
    

    String title;
    String suffix;

    private MorenoQuestionType(String _tilte, String _suffix) {
        this.title = _tilte;
        this.suffix = _suffix;
    }

    public String getLongTitle() {
        return title+" "+suffix; //NOI18N
    }

    public String getShortTitle() {
        return title;
    }

    public String getHtmlDescription() {
        return getLongTitle();
    }
}
